import { Dimension } from '../../common/dimension';
import { Vector } from '../../common/vector';
import { RendererComponent } from './renderer.component';

export class SpriteRendererComponent extends RendererComponent {
  constructor(
    public sprite: HTMLImageElement,
    public dimension: Dimension,
    public sourceLocation: Vector,
    public sourceDimension: Dimension
  ) {
    super(dimension);
  }
}
